import { ref, computed } from 'vue'
import { defineStore } from 'pinia'


// 定义登录状态存储
export const loginStatusStore = defineStore('logStatus', () => {
  // 0:未登录，1:登录，2:未知情况
  let logStatus = ref(0)
  return {logStatus}
})

// 定义笔记状态存储
export const NoteStatusStore = defineStore('NoteStatus', () => {
  // 0:未创建,1:创建成功,2:未知错误
  let noteStatus = ref(0)
  return {noteStatus}
})

// 定义SparkAi存储
export const SparkAiStore = defineStore('SparkAi', () => {
  let show = ref(false)
  return {show}
})

// 定义笔记输入卡片存储
export const NoteInputCardStore = defineStore('NoteInputCard', () => {
  let show = ref(false)
  return {show}
})

